<template>
  <div>

  </div>
</template>

<script>
export default {
    props:['one'],
    data(){
        return{
            aaa:1111
        }
    },
    created(){
        console.log('1',this.$attrs);
        console.log('1',this.$parent); // 获取父级的实例对象
    },
    mounted(){
        console.log('2',this.$attrs);
    },

}
</script>

<style>

</style>